<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Untitled 1</title>
</head>

<body>
    <p>
        <p>User pritnerbudi</p>
        <?php
            echo $this->session->flashdata('message'); 
        ?>           
        <p>
            <table cellspacing="0" style="width: 100%">
                <tr>
                    <td>NO HP</td>
                    <td>NAMA</td>
                    <td>EMAIL</td>
                    <td>REGISTERED</td>
                    <td>STATUS</td>
                    <td>ALAMAT</td>
                    <td>OPTION</td>
                </tr>
                    <?php 
                    if (isset($daftaruser)) {
                    foreach($daftaruser as $item){?>
                    <tr>
                        <form action="<?php echo base_url().'index.php/administrator/able/'; ?>" method="post">
                        <input type="hidden" name="idpengguna" value="<?php echo $item->PB_NOHPPENGGUNA ?>" />
                        <td><?php echo $item->PB_NOHPPENGGUNA ?></td>
                        <td><?php echo $item->PB_NAMAPENGGUNA ?></td>
                        <td><?php echo $item->PB_EMAILPENGGUNA ?></td>
                        <td><?php echo $item->PB_REGISTERED ?></td>
                        <td><?php echo $item->PB_STATUSPENGGUNA.'/'.$item->PB_STATUS ?></td>
                        <td><?php echo $item->PB_ALAMATPENGGUNA ?></td>
                        <td><input name="Submit1" type="submit" value="di/e-able"> | 
                            <a href="<?php echo base_url().'index.php/administrator/verify/'.$item->PB_NOHPPENGGUNA; ?>">verify</a> |
                            <a href="<?php echo base_url().'index.php/administrator/reset/'.$item->PB_NOHPPENGGUNA; ?>">reset password</a> |
                            <a href="<?php echo base_url().'index.php/administrator/delete/'.$item->PB_NOHPPENGGUNA; ?>">delete</a> |
                        </td>
                    </tr>
                    <?php }
                    } ?>                
            </table>
        </p>
    </p>
</body>

</html>
